package org.jeecg.modules.project.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.common.system.query.QueryGenerator;
import org.jeecg.modules.project.entity.Project;
import org.jeecg.modules.project.mapper.ProjectMapper;
import org.jeecg.modules.project.qo.ProjectListQo;
import org.jeecg.modules.project.service.IProjectService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 商机管理
 * @Author: jeecg-boot
 * @Date:   2025-07-28
 * @Version: V1.0
 */
@Service
public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> implements IProjectService {

    @Override
    public IPage<Project> queryPageList(Page<Project> page, ProjectListQo qo) {
        String sql = QueryGenerator.installAuthJdbc(Project.class);
        return baseMapper.queryPageList(page,qo,sql);
    }
}
